﻿// -----------------------------------------------------------------------
// <copyright file="DataAccessException.cs" company="EPAM Systems">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Helpers.ExceptionHandling.Exceptions
{
	#region Usings

	using System;
	using System.Collections.Generic;
	using System.Text;

	#endregion

	/// <summary>
	///  Represents the exceptions that occurs at data access.
	/// </summary>
	public class DataAccessException : BaseException
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="DataAccessException"/> class.
		/// </summary>
		/// <param name="message">Error message</param>
		public DataAccessException(string message)
			: base(message)
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="DataAccessException"/> class.
		/// </summary>
		/// <param name="message">Error message.</param>
		/// <param name="innerException">Inner exception</param>
		public DataAccessException(string message, Exception innerException)
			: base(message, innerException)
		{
		}
	}
}
